<!DOCTYPE HTML>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
<meta charset="utf-8">
<head th:include="include :: header"></head>
<body class="gray-bg">

<div class="container-div">
    <div class="row">
        <div class="col-sm-12 search-collapse">
            <form id="formId">
                <div class="select-list">
                    <ul>
                        <li>
                            终端IMEI：<input type="text" name="tid"/>
                        </li>

                        <li>
                            终端名称：<input type="text" name="tname"/>
                        </li>

                        <!--<li>-->
                        <!--接收人编号：<input type="text" name="userid"/>-->
                        <!--</li>-->

                        <!--<li>-->
                        <!--所属分组（区域）：<input type="text" name="aid"/>-->
                        <!--</li>-->

                        <!--<li>-->
                        <!--发送时间：<input type="text" name="sendtime"/>-->
                        <!--</li>-->

                        <!--<li>-->
                        <!--是否已读：<input type="text" name="isread"/>-->
                        <!--</li>-->

                        <!--<li>-->
                        <!--发送用户编号：<input type="text" name="senduserid"/>-->
                        <!--</li>-->

                        <li>
                            <a class="btn btn-primary btn-rounded btn-sm" onclick="$.table.search()"><i class="fa fa-search"></i>&nbsp;搜索</a>
                            <a class="btn btn-warning btn-rounded btn-sm" onclick="$.form.reset()"><i class="fa fa-refresh"></i>&nbsp;重置</a>
                        </li>
                    </ul>
                </div>
            </form>
        </div>

        <!--<div class="btn-group-sm hidden-xs" id="toolbar" role="group">-->
        <!--<a class="btn btn-success" onclick="$.operate.add()" shiro:hasPermission="broad:high:add">-->
        <!--<i class="fa fa-plus"></i> 添加-->
        <!--</a>-->
        <!--&lt;!&ndash;<a class="btn btn-primary btn-edit disabled" onclick="$.operate.edit()" shiro:hasPermission="broad:high:edit">&ndash;&gt;-->
        <!--&lt;!&ndash;<i class="fa fa-edit"></i> 修改&ndash;&gt;-->
        <!--&lt;!&ndash;</a>&ndash;&gt;-->
        <!--&lt;!&ndash;<a class="btn btn-danger btn-del btn-del disabled" onclick="$.operate.removeAll()" shiro:hasPermission="broad:high:remove">&ndash;&gt;-->
        <!--&lt;!&ndash;<i class="fa fa-remove"></i> 删除&ndash;&gt;-->
        <!--&lt;!&ndash;</a>&ndash;&gt;-->
        <!--&lt;!&ndash;<a class="btn btn-warning" onclick="$.table.exportExcel()" shiro:hasPermission="broad:high:export">&ndash;&gt;-->
        <!--&lt;!&ndash;<i class="fa fa-download"></i> 导出&ndash;&gt;-->
        <!--&lt;!&ndash;</a>&ndash;&gt;-->
        <!--</div>-->
        <div class="col-sm-12 select-table table-striped">
            <table id="bootstrap-table" data-mobile-responsive="true" style="table-layout: fixed;word-break: break-all"></table>
        </div>
    </div>
</div>
<div th:include="include :: footer"></div>
<script th:inline="javascript">
//    var editFlag = [[${@permission.hasPermi('broad:high:edit')}]];
//    var removeFlag = [[${@permission.hasPermi('broad:high:remove')}]];
    var prefix = ctx + "broad/manage";

    $(function() {
        var options = {
            url: prefix + "/list",
            createUrl: prefix + "/add",
            updateUrl: prefix + "/edit/{id}",
            removeUrl: prefix + "/remove",
            exportUrl: prefix + "/export",
            modalName: "管理参数表",
            search: false,
            showExport: true,

            columns: [
//                    {
//		            checkbox: true
//		        },
//				{
//					field : 'mhid',
//					title : '上级公告编号',
//					visible: false
//				},
                {
                    field : 'tid',
                    title : '终端IEME',
                    sortable: true
                },
                {
                    field : 'tname',
                    title : '终端名称',
                    sortable: true,
                },
                {
                    field : 'aname',
                    title : '所属区域',
                    sortable: true,
                },
                {
                    field : 'longitude',
                    title : '安装点经度',
                    sortable: true
                },
                {
                    field : 'latitude',
                    title : '安装点纬度',
                    sortable: true,
                },
                {
                    field : 'families',
                    title : '覆盖用户',
                    sortable: true,
                },
                {
                    field : 'population',
                    title : '覆盖人口数',
                    sortable: true,
                },
                {
                    field : 'TwoOverlayNumber',
                    title : '二次覆盖终端数',
                    sortable: true,
                },
                {
                    field : 'TwoOverlayFamiles',
                    title : '二次覆盖用户数',
                    sortable: true,
                },
                {
                    field : 'TwoOverlayPopulations',
                    title : '二次覆盖人口数',
                    sortable: true,
                },
                {
                    field : 'PowerConsumption',
                    title : '耗电指数',
                    sortable: true,
                },
                {
                    field : 'MaintenanceFunds',
                    title : '维护经费',
                    sortable: true,
                },
                {
                    field : 'createdtime',
                    title : '创建时间',
                    sortable: true,
                }
            ]
        };
        $.table.init(options);
    });
</script>
</body>
</html>